<!DOCTYPE html>
<html class="loginHtml" lang="cn" xmlns:th="http://www.thymeleaf.org">
<!--使用thymleaf必须加这个-->
<head>
	<meta charset="utf-8">
	<title>后台登录</title>
	<!--移动端的适配-->
	<!--<meta name="renderer" content="webkit">-->
	<!--<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">-->
	<!--<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">-->
	<!--<meta name="apple-mobile-web-app-status-bar-style" content="black">-->
	<!--<meta name="apple-mobile-web-app-capable" content="yes">-->
	<!--<meta name="format-detection" content="telephone=no">-->
	<!--网页的图标-->
	<link rel="icon" href="img/ico.ico">
	<link rel="stylesheet" href="../layui/css/layui.css" th:href="@{/layui/css/layui.css}" media="all"/>
	<link rel="stylesheet" href="../css/public.css" th:href="@{/css/public.css}" media="all"/>
</head>
<body class="loginBody">
	<form class="layui-form" style="height: 385px" >
		<!--头像-->
		<div class="login_face"><img src="img/head.jpg" th:src="@{/img/head.jpg}"  class="userAvatar" style="width: 100%;height: 100%"></div>
		<div class="layui-form-item input-item">
			<label for="userName">用户名</label>
			<input type="text" placeholder="请输入用户名" autocomplete="off" id="username" name="username" class="layui-input" lay-verify="required">
		</div>
		<div class="layui-form-item input-item">
			<label for="password">密码</label>
			<input type="password" placeholder="请输入密码" autocomplete="off" id="password" name="password"   class="layui-input" lay-verify="required">
		</div>
		<div class="layui-form-item input-item" id="imgCode">
			<label for="code">验证码</label>
			<input type="text" placeholder="请输入验证码" autocomplete="off" id="code" name="code"  class="layui-input">
			<img src="home/getCode" th:src="@{/home/getCode}" onclick="changeCode()" id="codeImg">

		</div>

		<div class="layui-form-item" id="rememberCode">
			<div class="layui-input-inline" style="width: 170px">
				<input type="checkbox" name="remember" id="remember" value="Y" title="记住我" lay-skin="primary">
			</div>
			<div class="layui-form-mid" id="forgetCode">
				<a style="color: #1E9FFF;" href="/Anime/video/video">忘记密码？</a>
			</div>
		</div>

		<div class="layui-form-item">
			<button type="submit" class="layui-btn layui-block" lay-submit="" lay-filter="login">登录</button>
		</div>
		<div class="layui-form-item">
			<button  type="button" class="layui-btn layui-block" id="register">注册</button>
		</div>
	</form>
	<script type="text/javascript" src="layui/layui.js" th:src="@{/layui/layui.js}" ></script>
	<script type="text/javascript" src="js/login.js" th:src="@{/js/login.js}"></script>
</body>
</html>